<#include "/header.html">
<div class="content">
 <div class="width1190">
  <form action="#" method="get" class="pro-search">
   <table>
    <tr>
     <th>房源区域：</th>
     <td>
      <a href="?estate=&area=${RequestParameters.area}&type=${RequestParameters.type}&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.estate=='')?string('pro-cur','')}">不限</a>
      <#list estateList as estate>
      <a href="?estate=${estate.id}&area=${RequestParameters.area}&type=${RequestParameters.type}&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.estate==estate.id)?string('pro-cur','')}">${estate.name}</a>
     </#list>
     </td>
    </tr>
    <tr>
     <th>面积：</th>
     <td>
      <a href="?estate=${RequestParameters.estate}&area=&type=${RequestParameters.type}&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.area=='')?string('pro-cur','')}">不限</a>
      <a href="?estate=${RequestParameters.estate}&area=0,60&type=${RequestParameters.type}&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.area=='0,60')?string('pro-cur','')}">60平方以下</a>
      <a href="?estate=${RequestParameters.estate}&area=60,80&type=${RequestParameters.type}&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.area=='60,80')?string('pro-cur','')}">60-80平方</a>
      <a href="?estate=${RequestParameters.estate}&area=80,100&type=${RequestParameters.type}&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.area=='80,100')?string('pro-cur','')}">80-100平方</a>
      <a href="?estate=${RequestParameters.estate}&area=100&type=${RequestParameters.type}&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.area=='100')?string('pro-cur','')}">100平方以上</a>
     </td>
    </tr>
    <tr>
     <th>房型：</th>
     <td>
      <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.type=='')?string('pro-cur','')}">不限</a>
      <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=1,1&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.type=='1,1')?string('pro-cur','')}">一室一厅</a>
      <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=2,1&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.type=='2,1')?string('pro-cur','')}">两室一厅</a>
      <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=3,1&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.type=='3,1')?string('pro-cur','')}">三室一厅</a>
      <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=3,2&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.type=='3,2')?string('pro-cur','')}">三室二厅</a>
      <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=4,1&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.type=='4,1')?string('pro-cur','')}">四室一厅以上</a>
      <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=4,2&sort=${RequestParameters.sort}&num=1" class="${(RequestParameters.type=='4,2')?string('pro-cur','')}">四室二厅以上</a>
     </td>
    </tr>
   </table>
   <div class="paixu">
    <strong>排序：</strong>
    <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=${RequestParameters.type}&sort=&num=1" class="${(RequestParameters.sort=='')?string('pai-cur','')}">默认</a>
    <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=${RequestParameters.type}&sort=house_price&num=1" class="${(RequestParameters.sort=='house_price')?string('pai-cur','')}">价格 &or;</a>
    <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=${RequestParameters.type}&sort=update_time&num=1" class="${(RequestParameters.sort=='update_time')?string('pai-cur','')}">最新 &or;</a>
    <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=${RequestParameters.type}&sort=${RequestParameters.sort}&sort_type=asc&num=1" class="${(RequestParameters.sort_type==null || RequestParameters.sort_type=='asc')?string('pai-cur','')}">顺序</a>
    <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=${RequestParameters.type}&sort=${RequestParameters.sort}&sort_type=desc&num=1" class="${(RequestParameters.sort_type=='desc')?string('pai-cur','')}">倒序</a>
   </div>
  </form><!--pro-search/-->
 </div><!--width1190/-->
 <div class="width1190">
  <div class="pro-left">
   <#if house.total &gt; 0>
   <#list house.rows as house>
   <dl>
    <a href="/proinfo.html/old/${house.id}">
     <dt><img src="${house.firstHouseImage}" style="width: 286px;height: 188px;overflow: hidden"/></dt>
     <dd>
      <h3>${house.title}</h3>
      <div class="pro-wei">
       <img src="images/weizhi.png" width="12" height="16" /> <strong class="red">${house.estateName}</strong>
      </div>
      <div class="pro-fang">${house.houseShi}室${house.houseTing}厅${house.houseWei}卫 ${house.houseArea}平 ${house.houseDirStr} 楼层${house.houseFloor}/${house.houseFloorTotal}层</div>
      <div class="pra-fa">发布时间：${house.createTimeStr}</div>
     </dd>
     <div class="price">¥ <strong>${house.housePrice}</strong><span class="font12">元/月</span></div>
     <div class="clears"></div>
    </a>
   </dl>
  </#list>

  <#import "paginator.html" as page >
  <@page.paginator house.pages ,num ,pageSize,"orange",house.pages; num,text>
  <a href="?estate=${RequestParameters.estate}&area=${RequestParameters.area}&type=${RequestParameters.type}&sort=${RequestParameters.sort}&num=${num}" target="_self">${text}</a>
 </@page.paginator>
 <#else>
 暂无内容
</#if>
</div><!--pro-left/-->
<div class="clears"></div>
</div><!--width1190/-->
</div><!--content/-->
<#include "/footer.html">
